<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div {
      overflow: hidden;
      width: 500px;
      height: 500px;
      border: 1px solid black;
      margin: 0 auto;
    }

    ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    li {
      line-height: 56px;
      text-align: center;
    }

    li:nth-child(n+2) {
      border-top: 1px solid black;
    }
  </style>
  <script src="../../assets/libs/iscroll/iscroll.js"></script>
</head>

<body>
  <div>
    <ul>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
      <li>Hello world!</li>
    </ul>
  </div>
  <script>
    new IScroll('div')
  </script>
</body>

</html>